<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<base
	href="<%=request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
					+ request.getContextPath() + "/"%>">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>用户中心</title>
<link rel="stylesheet" type="text/css" href="statics/css/pagination.css" />
<link rel="stylesheet" type="text/css" href="statics/css/agent.css" />
<script type="text/javascript" src="statics/js/jquery-1.12.4.js"
	charset="UTF-8"></script>
<script src="statics/layer/layer.js"></script>
<script type="text/javascript" src="statics/js/user_recharge.js"></script>
<script type="text/javascript"
	src="statics/js/script/jquery.pagination.js" charset="UTF-8"></script>
<script type="text/javascript">
	
</script>
</head>
<body>
	<jsp:include page="top.jsp"></jsp:include>
	<div class="waikuan">
		<%@ include file="/WEB-INF/jsp/user_menu.jsp"%>
		<div class="user">
			<div class="user-title" data-AllCount="${AllCount }">消费记录</div>
			<div class="user-content" style="padding: 13px 13px 50px">
				<div class="yve">
					<span>当前余额: <span style="color: #aa0000; font-weight: 800;">${umoney}</span>
					</span>
					<button class="recharge">充值</button>
				</div>
				<table class="qq">
					<thead>
						<tr>
							<th width="">金额</th>
							<th width="">时间</th>
							<th width="">方向</th>
						</tr>
					</thead>
					<tbody>
						<c:forEach items="${users}" var="user">
							<tr>
								<td>${user.urMoney }</td>
								<td><fmt:formatDate value="${user.urDate }"
										pattern="yyyy-MM-dd HH:mm:ss" /></td>
								<td>${user.urWay }</td>
							</tr>
						</c:forEach>
					</tbody>
				</table>
				<div style="text-align: center; display: none;" class="wudanimg">
					<p style="font-size: 16px; color: #60606c; margin-top: 10px">暂无记录</p>
				</div>
				<div class="M-box" style="margin-top: 10px;"></div>
			</div>
		</div>
	</div>
	<div class="suoding">
		<div class="chongzhi">
			<table>
				<tbody>
					<tr style="height: 20px"></tr>
					<tr>
						<td>请输入充值金额：</td>
						<td><input style="color: #000;" type="text" class="sum"
							onkeyup="this.value=this.value.replace(/\D/g,'')"
							onafterpaste="this.value=this.value.replace(/\D/g,'')"></td>
					</tr>
					<tr>
						<td>
							<button class="czl">确认充值</button>
						</td>
						<td>
							<button class="cancel">取消充值</button>
						</td>
					</tr>
					<tr style="height: 20px"></tr>
				</tbody>
			</table>
		</div>
	</div>
	<jsp:include page="bottom.jsp"></jsp:include>
</body>
</html>